


#ifndef _I7816_STATUS_H_
#define _I7816_STATUS_H_

enum _i7816_status{
	I7816_S_OK                       = 0,
	I7816_S_POWER_UP, 
	I7816_S_SEND, 
	I7816_S_RECEIVE, 
	I7816_S_PARITY, 
	I7816_S_TIMEOUT,
	I7816_S_TIMERDISABLE, 
	I7816_S_VOLTAGE,
	I7816_S_TS, 
	I7816_S_TCK, 
	I7816_S_ATR_LEN, 
	I7816_S_REJECT_ATR, 
	I7816_S_CARD_ABSENT,
	I7816_S_CARD_PRESENT,
	I7816_S_INVALID_APDU, 
	I7816_S_INVALID_SW, 
	I7816_S_ASYNC, 
	I7816_S_BLOCK_FORMAT,
	I7816_S_RESPONSE, 
	I7816_S_REQUEST, 
	I7816_S_ABORT, 
	I7816_S_OVER_RETRANSMIT,
	I7816_S_CARD_INACTIVE, 
	I7816_S_OVER_BUFFER_SIZE, 
	I7816_S_INVALID_BLOCK,
	I7816_S_DEC,
	I7816_S_ATR_INCOMPELET,
	I7816_S_NOT_READY,
	I7816_S_INVALID_ID,
	I7816_S_INVALID_ARGS,

	I7816_S_MAX_ERR_CODE,
	
	I7816_S_RETRANSMIT,
    I7816_S_TRANSMIT_R,
    I7816_S_RESYNCHRONIZE,
    I7816_S_CHAIN_IN,
	I7816_S_CORRECT,	
};

typedef enum _i7816_status i7816_status_t;

#endif	//_I7816_STATUS_H_


